public class HomeWork0113 {
    public static void main(String[] args) {
    int age = 25;
    double salary =5000;
    boolean experience = true;
    String jobTitle = "Software Engineer";

    //判断是否符合晋升条件
        if ((age>=22&&age<=30)&&(salary>=4000.0&&(salary>=4000.0&&salary<=6000)&&experience&&jobTitle.equals("Software Engineer"))){
            System.out.println("Congratulation!You are eligible for promotion.");
        } else {

            System.out.println("Sorry,you do not meet the promotion criteria.");

        }
        }


    }

